package com.yanqu.road.logcollector.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author cwq
 * @Data 2023/5/26 22:53
 */
@RestController()
public class StartController {

    private static boolean isStart = false;

    @RequestMapping("/index")
    public Object isStart() {
        return isStart;
    }

    public static void startSuccess() {
        isStart = true;
        System.out.println("ck启动成功");
    }

}
